﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using KillBill.Common.Security;
using KillBill.Services.DTO;

namespace KillBill.Services.Modules.Administration.IServices
{
    [ServiceContract]
    public interface ISecurityService
    {
        [OperationContract]
        ActiveSessions GetSessions();
        [OperationContract]
        Session LogIn(string id, string password);
        [OperationContract]
        void LogOut(string sessionId);
        [OperationContract]
        KillBillDTO IsAuthorized(string sessionId, string[] validRoles);
    }
}
